package com.onluy.frameworkcloud.base;

import com.github.pagehelper.PageInfo;
import com.onluy.frameworkcloud.Param.*;
import com.onluy.frameworkcloud.data.util.InParam;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

public interface IClientService {

    @RequestMapping(value = "/target", method = RequestMethod.POST)
    public RspInfo<InParam<String,Object>> model(ReqInfo<ReqHead, InParam<String, Object>> reqInfo);



    @RequestMapping(value = "/add", method = RequestMethod.POST)
    public RspInfo<InParam<String,Object>> add(ReqInfo<ReqHead, InParam<String, Object>> reqInfo);


    @RequestMapping(value = "/update", method = RequestMethod.POST)
    public RspInfo<InParam<String,Object>> update(ReqInfo<ReqHead, InParam<String, Object>> reqInfo);


    @RequestMapping(value = "/del", method = RequestMethod.POST)
    public RspInfo<InParam<String,Object>> del(ReqInfo<ReqHead, InParam<String, Object>> reqInfo);


//    @RequestMapping(value = "/list", method = RequestMethod.POST)
//    public RspInfo<PageInfo<InParam >> list(ReqInfo<Pagination, InParam<String, Object>> reqInfo);
//
//
//
//    @RequestMapping(value = "/simplelist", method = RequestMethod.POST)
//    public RspInfo<PageInfo<InParam >> simplelist(ReqInfo<Pagination, InParam<String, Object>> reqInfo);


}
